


<div class="x-body">
    <form class="layui-form form_single" id="form" action="{:url()}" method="post">

        <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span>虚拟币分类
            </label>
            <div class="layui-input-block">

                <select name="currency_id" >
                    {volist name='list' id='vo'}
                    <option value="{$vo['id']}" {notempty name="info['currency_id']"}{if condition="$info['currency_id'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                    {/volist}
                </select>

            </div>
            <div class="layui-form-mid layui-word-aux">
                (虚拟币分类)
            </div>

        </div>
        <div class="layui-form-item">
            <label for="address" class="layui-form-label">
                <span class="x-red">*</span>钱包地址
            </label>
            <div class="layui-input-block">
                <input type="text" id="address" name="address" required="" lay-verify="required"
                       autocomplete="off"  value="{$info['address']|default=''}" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (钱包地址)
            </div>
        </div>
        <div class="layui-form-item">
            <label for="logo" class="layui-form-label">
                <span class="x-red">*</span>收款二维码
            </label>
            <div id="logo" class="layui-input-block">
                {assign name="cover_id" value="$info.cover_id|default='0'" /}
                {:widget('file/index', ['name' => 'cover_id', 'value' => $cover_id, 'type' => 'img'])}
            </div>
            <!--<div class="layui-form-mid layui-word-aux">-->
            <!--(请上传单张封面图片)-->
            <!--</div>-->
        </div>



        <div class="box-footer">
            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>

            {include file="layout/edit_btn_group"/}

        </div>

    </form>
</div>



